const getters = {
    token: state => state.user.token,
    role: state => state.user.role,
    rolemenu: state => state.user.rolemenu,
    
    defaluthas: state => state.user.defaluthas,
    menutags: state => state.user.menutags,

    hospitalId: state => state.user.hospitalId,
    userId: state => state.user.userId,
    deptment: state => state.user.deptment,
    apiToken: state => state.user.apiToken,
    consultationsId: state => state.user.consultationsId,
    dataBus: state => state.user.dataBus,
    sysRole: state => state.user.sysRole,
    routerPrepare: state => state.user.routerPrepare,
    homePagePath: state => state.user.homePagePath,
    routerPowers: state => state.user.routerPowers,
    sidebar: state => state.app.sidebar,
    language: state => state.app.language,
    size: state => state.app.size,
    device: state => state.app.device,
    visitedViews: state => state.tagsView.visitedViews,
    cachedViews: state => state.tagsView.cachedViews,
    avatar: state => state.user.avatar,
    name: state => state.user.name,
    inscode: state => state.user.inscode,
    patientname: state => state.patientInfo.patientname,
    ctime: state => state.patientInfo.ctime,
  
    dept: state => state.user.dept,
    insname: state => state.user.insname,
    rname: state => state.user.rname,
    pri: state => state.user.pri,
    tel: state => state.user.tel,
    roleName: state => state.user.roleName,
  
    introduction: state => state.user.introduction,
    permission_routes: state => state.permission.routes,
    errorLogs: state => state.errorLog.logs,
    roles: state => state.user.roles,
    supportPinyinSearch: state => state.settings.supportPinyinSearch,
  
    sn: state => state.patientInfo.sn,
    usn: state => state.patientInfo.usn,
    idcard: state => state.patientInfo.idcard,
    patientinfos: state => state.patientInfo.patientinfos,
    isgrid: state => state.checkGrid.isgrid,
  
    referralid: state => state.referralInfo.referralid,
  
    routerInfo: state => state.routerInfo,
  
    recordid: state => state.recordInfo.recordid,
  
    noticeid: state => state.noticeInfo.noticeid,
  
    monitorinfo: state => state.detection.monitorinfo,

    tsn: state => state.auditInfo.tsn,
    csn: state => state.auditInfo.csn,
    audittype: state => state.auditInfo.audittype,

    
    currenpage: state => state.reportView.currenpage,
    currensize: state => state.reportView.currensize,
    currentotal: state => state.reportView.currentotal,
    searchdata: state => state.reportView.searchdata,

    cacurrenpage: state => state.reportView.cacurrenpage,
    cacurrensize: state => state.reportView.cacurrensize,
    cacurrentotal: state => state.reportView.cacurrentotal,
    casearchdata: state => state.reportView.casearchdata,
  }
  export default getters
  